<template>
  <router-view />
</template>

<script>
  import {ref, computed, onMounted} from 'vue'
  import {useRoute} from 'vue-router'

  export default {
    name: "index",
    setup() {
      const routerParamsType = ref('')

      const router = useRoute()
      routerParamsType.value = computed(() => router.params.type)

      onMounted(() => {

      })
      return {
        routerParamsType
      }
    }
  }
</script>

<style scoped>

</style>
